<#include "/WEB-INF/views/web/common/layout/__mainlayout.html">
<#include "/WEB-INF/views/web/common/__pagination.html">
<#assign currentPostion='博客文章'/>
<@mainlayout>
<div class="am-u-md-8 am-u-sm-12">
	<#list pageList.list as blog>
      <article class="am-g blog-entry-article">
      	<!-- 
          <div class="am-u-lg-6 am-u-md-12 am-u-sm-12 blog-entry-img">
              <img src="${ctx}/resource/amazeuiweb/assets/i/f10.jpg" alt="" class="am-u-sm-12">
          </div>
         -->
          <div class="am-u-lg-12 am-u-md-12 am-u-sm-12 blog-entry-text">
              <h1><a href="${ctx}/blog/article/${(blog.id)}">${(blog.title)!}</a></h1>
              <span><a href="" class="blog-color">浏览量 ${(blog.view_count)!} &nbsp;</a></span>
              <span> ${(blog.name)!} &nbsp;</span>
              <span>${(blog.update_time)!}</span>
              <p>
              	${(blog.desc)!}
              </p>
              <p><a href="${ctx}/blog/article/${(blog.id)}" class="blog-continue am-fr">阅读全文</a></p>
          </div>
      </article>
     </#list>
     <!-- 
      <ul class="am-pagination">
		  <li class="am-pagination-prev"><a href="">&laquo; Prev</a></li>
		  <li class="am-pagination-next"><a href="">Next &raquo;</a></li>
	  </ul>
	   -->
	  <@pagination page=pageList url='/blog/?search=${search!}&searchTag=${searchTag!}' />
</div>

 <div class="am-u-md-4 am-u-sm-12 blog-sidebar">
 	<#include "/WEB-INF/views/web/common/inc/_sidebar.html">
 </div>
</@mainlayout>